apiVersion: sealer.cloud/v2
kind: Cluster
metadata:
  name: default-kubernetes-cluster
spec:
  image: registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.8
  # ssh:
  #   passwd: 
  hosts:
    - ips: [10.198.0.16,10.198.0.18,10.198.0.19]
      roles: [master]
    - ips: [10.198.0.13,10.198.0.14,10.198.0.24,10.198.0.33]
      roles: [node]
...
---
apiVersion: sealer.aliyun.com/v1alpha1
kind: Config
metadata:
  name: calico
spec:
  strategy: merge #merge Config, default value is overwrite
  path: etc/custom-resources.yaml
  data: |
    spec:
      calicoNetwork:
        nodeAddressAutodetectionV4:
          interface: "eth0" #change the automatic IP detection rule to a matching rule